<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <title></title>
    <meta name="keywords" content="人工智能安全管控系统">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" href="/res/layui/css/layui.css" media="all"/>
    <link rel="stylesheet" href="/res/assets/css/xadmin2.css">
    <link rel="stylesheet" type="text/css" href="/res/assets/css/reset.css"/>
    <link rel="stylesheet" type="text/css" href="/res/assets/css/common/index.css"/>
    <link rel="stylesheet" type="text/css" href="/res/assets/css/common/theme/blue.css"/>
    <style>
        .layui-layer-content{
            display: none!important;
            width: 0!important;
        }
        .leftlogo{width:53px;max-height:60px;height:auto} 
        #userName{
            width: 85%;
            padding:0px;
			white-space: nowrap;
		    text-overflow: ellipsis;
		    overflow: hidden;
		    word-break: break-all;
        }
		#subnva{
			 width:120px;
			 text-align:center;
			 margin-top: -60px;
			 float: right;
			 /* height: 100%; */
			 padding:0px;
			 background:rgba(0,0,0,0);
		}
		#subnavsys{
		  text-align:center;
		}
    </style>
</head>

<body>
<div id="_main_container_">
<!-- top -->
<div class="layui-header zhdj_top">
    <div class="layui-logo zhdj_logo">
        <img src="" class="leftlogo" alt="">
        <span id="twoName"></span>
        <!-- <a href="javascript:;" onclick="history.back(-1);return false;" class="callback"> -->
        <a href="/res/page/main.html" class="callback">
        <img src="/res/assets/img/common/callback.png" alt="">
        <span>首页</span>
        </a>
    </div>
    <div class="layui-nav zhdj_second_menu">
        <script type="text/html" id="main-menu-tpl">
            {{#  layui.each(d.data, function(index, item){ }}
            {{# if(index == 0){ }}
            <li class="layui-col-md1 layui-this">
                <a href="javascript:void(0)" title="{{item.name}}" onclick="mainMenuClick('{{item.permissionId}}')">
                    <img src="{{item.iconZh}}" alt="">
                    <span >{{item.name}}</span>
                </a>
            </li>
            {{#  } else { }}
            <li class="layui-col-md1">
                <a href="javascript:void(0)" title="{{item.name}}" onclick="mainMenuClick('{{item.permissionId}}')">
                    <img src="{{item.iconZh}}" alt="">
                    <span >{{item.name}}</span>
                </a>
            </li>
            {{#  } }}
            {{#  }); }}
        </script>
        <ul class="layui-row" id="main-menu">

        </ul>
    </div>
    <div class="zhdi_drop_icon">
        <img src="/res/assets/img/top.png" alt="" class="top_btn" style="display: none;width: 20px;">
        <img src="/res/assets/img/bottom.png" alt="" class="bottom_btn" style="display: inline-block;width: 20px;">
    </div>
    <ul class="layui-nav subnva" id="subnva" >
		  <li class="layui-nav-item">
		    <a href="javascript:;" ><img id="userimg" src="" class="layui-nav-img"></a>
		    <dl class="layui-nav-child" id="subnavsys">
		      <dd><a href="javascript:;" id="userName" style="color:#ff5722;"></a></dd> 
		      <dd><a onClick="x_admin_show('修改密码','changepassword.html')">修改密码</a></dd>
		      <dd><a href="javascript:;" id="logout">退出系统</a></dd>
		    </dl>
		  </li>
	</ul>
</div>
<!-- nav -->
<div class="layui-side zhdj_menu" id="left-side">
    <script type="text/html" id="sub-menu-tpl">
        {{#  layui.each(d.data, function(index, item){ }}
        <li class="layui-nav-item">            
         {{# if(item.children.length>0){ }}
            <a _href="javascript:;">
                <span class="icon"><img src="{{item.iconZh}}" alt=""></span>
                <cite>{{item.name}}</cite>
            </a>
            <ul class="sub-menu">
                 {{#  layui.each(item.children, function(j, item2){ }}
                     <li><a class="clickaa"  _href="{{item2.url}}?permissionId={{item2.permissionId}}">
                           <span class="icon"><img src="{{item2.iconZh}}" alt=""></span><!-- 四级菜单 -->
                           <cite>{{item2.name}}</cite>
                         </a>
                     </li >
                 {{#  }); }}
            </ul>
         {{#  }else{ }}
             <a class="clickaa" _href="{{item.url}}?permissionId={{item.permissionId}}">     
                <span class="icon"><img src="{{item.iconZh}}" alt=""></span>
                <cite>{{item.name}}</cite>
            </a>
         {{#  }; }}
        </li>
        {{#  }); }}
    </script>
    <ul class="layui-nav layui-nav-tree" id="nav">
        
    </ul>
    <div class="zhdj_open_close">
        <img src="/res/assets/img/left.png" alt="" class="left_icon" style="display: inline-block;">
        <img src="/res/assets/img/right.png" alt="" class="right_icon" style="display: none;">
    </div>
</div>
<!-- content -->
<div class="layui-body zhdj_content">
    <div class="layui-icon layui-icon-prev" id="left_button"></div>
    <div class="layui-icon layui-icon-next" id="right_button"></div>
    <div class="layui-tab tab" lay-filter="mainTab" lay-allowclose="false">
        <ul class="layui-tab-title zhdj_tab">
        </ul>
        <div class="layui-tab-content zhdj_form">
        </div>
    </div>
</div>
</div>
<script src="/res/js/common/jquery-3.2.1.min.js"></script>
<script src="/res/js/common/app.js"></script>
<script src="/res/layui/layui.js"></script>
<!-- <script src="/res/assets/lib/layui/layui.all.js"></script> -->
<script src="/res/js/index.js"></script>
</body>
</html>
